<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/11/26
  Time: 9:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
    <style>
        span{
            color:red
        }
    </style>
</head>
<body>
<form action="register2" method="get">
    <input type="text" name="username" placeholder="用户名" value="${user.username}">  <span>${errors.username}</span><br>
    <input type="password" name="password" placeholder="密码" value="${user.password}"> <span>${errors.password}</span> <br>
    <input type="text" name="userAge" placeholder="年龄" value="${user.userAge}"> <span>${errors.userAge}</span> <br>
    <input type="text" name="birthday" placeholder="生日" value="<fmt:formatDate value="${user.birthday}"></fmt:formatDate>"> <span>${errors.birthday}</span><br>
    <input type="text" name="salary" placeholder="工资水平" value="${user.salary}"> <span>${errors.salary}</span> <br>
    <input type="text" name="email" placeholder="邮箱" value="${user.email}"> <span>${errors.email}</span> <br>
    <input type="submit" value="登录">


</form>
</body>
</html>
